import React from 'react';
import { Icon } from './base';

/**
 * &#xe603; 元宝
 *
 * @export
 * @class IconYuanBao
 * @extends {Icon}
 */
export default class IconYuanBao extends Icon {
    render() {
        const { color, style, className } = this.props;

        const { width, height } = this.getSize();

        return (
            <svg viewBox="0 0 1024 1024" width={width} height={height} style={style} className={className}>
                <path
                    fill={color}
                    d="M643.072 785.066667H380.416a107.008 107.008 0 0 1-96.426667-62.464l-91.989333-198.485334a88.234667 88.234667 0 0 1 39.253333-126.122666l2.730667-1.024a63.658667 63.658667 0 0 1 11.434667-2.56 156.16 156.16 0 0 1 61.952 3.242666A899.413333 899.413333 0 0 0 499.882667 426.666667h25.088A898.730667 898.730667 0 0 0 716.8 397.824a156.16 156.16 0 0 1 62.464-3.242667 62.122667 62.122667 0 0 1 10.922667 2.56l2.730666 1.024a88.234667 88.234667 0 0 1 39.424 126.122667l-92.330666 198.656A106.837333 106.837333 0 0 1 643.072 785.066667z m-392.533333-339.797334a37.034667 37.034667 0 0 0-17.066667 48.298667 37.888 37.888 0 0 0 2.56 4.608l1.536 2.901333 92.842667 200.362667A55.637333 55.637333 0 0 0 380.586667 733.866667h262.314666a55.637333 55.637333 0 0 0 51.2-32.426667l93.696-203.093333a37.034667 37.034667 0 0 0-11.434666-51.2l-3.242667-1.877334h-1.024a106.154667 106.154667 0 0 0-42.496 2.048A951.125333 951.125333 0 0 1 525.994667 477.866667h-27.136a952.149333 952.149333 0 0 1-204.8-29.866667 105.301333 105.301333 0 0 0-41.984-2.218667zM674.133333 382.976a25.6 25.6 0 0 1-22.186666-12.629333 162.133333 162.133333 0 0 0-280.064 0 25.6 25.6 0 0 1-44.202667-25.770667 213.333333 213.333333 0 0 1 368.469333 0 25.6 25.6 0 0 1-22.016 38.570667z"
                />
            </svg>
        );
    }
}
